package com.service.business.news.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.core.rest.response.CommonPageRep;
import com.service.dao.model.News;
import com.service.business.news.controller.rep.NewsDetailRep;
import com.service.business.news.controller.rep.NewsPageRep;
import com.service.business.news.controller.req.NewsPageReq;

import java.util.List;


/**
 * 系统公告
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2019-11-12 21:59:44
 */
public interface NewsService extends IService<News> {
    CommonPageRep<NewsPageRep> pageNews(Integer newsStatus,NewsPageReq newsPageReq);
    NewsDetailRep getOneNewsDetail(Integer newsId);

    List<News> listAllNews();
}

